package com.ml.mall.entity.seting;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_a_seting")
public class SysASeting implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "create_at",fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * 更新时间
     */
    @TableField(value = "update_at",fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

    /**
     * 国家ID
     */
    @TableField(value = "country_id")
    private Long countryId;

    /**
     * 后端语言ID
     */
    @TableField(value = "language_id")
    private Long languageId;

    /**
     * 货币ID
     */
    @TableField(value = "currency_id")
    private Long currencyId;

    /**
     * 货币位置：1：前；2后
     */
    @TableField(value = "currency_position")
    private Integer currencyPosition;

    /**
     * 时间格式
     */
    @TableField(value = "time_type")
    private Long timeType;

    /**
     * 周开始：0-6 对应 日-六
     */
    @TableField(value = "week_start")
    private Integer weekStart;

    private static final long serialVersionUID = 1L;
}